package com.eclink.asset.consume.domain.dao;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.eclink.asset.domain.AuditUser;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 审核节点
 * 
 * @author chenshixian
 */
@ApiModel(description="审核节点对象")
@Data
@TableName("consume_audit_config_node")
public class ConsumeAuditConfigNode {

    @ApiModelProperty("ID")
    private Integer id;

    @ApiModelProperty("NAME")
    @Excel(name = "NAME")
    private String name;

    @ApiModelProperty("LEVEL")
    @Excel(name = "step")
    private Integer step;

    @ApiModelProperty("USER_ID")
    private Long userId;

    @TableField(exist = false)
    private AuditUser auditUser;

    @ApiModelProperty("CONFIG_ID")
    private Long configId;

    @ApiModelProperty("删除标志")
    private Integer delFlag = 0;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("最后更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("创建人ID")
    @Excel(name = "创建人ID")
    private Long createUserId;

    @ApiModelProperty("修改人ID")
    @Excel(name = "修改人ID")
    private Long updateUserId;

}
